home *** CD-ROM | disk | FTP | other *** search
- class CCollisionVolume
- {
- var m_body;
- var m_isColliding = true;
- var m_inverse = false;
- function CCollisionVolume(body)
- {
- this.m_body = body;
- }
- function IsColliding()
- {
- return this.m_isColliding;
- }
- function get _topLeftCorner()
- {
- return this.m_body._location;
- }
- function get _bottomRightCorner()
- {
- return this.m_body._location;
- }
- function get _boundingRadius()
- {
- return 0;
- }
- function MayCollideOnSeparation()
- {
- return false;
- }
- }
-